FROM adoptopenjdk/openjdk11

MAINTAINER micy19961212y@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /ymall-admin

WORKDIR /ymall-admin

EXPOSE 8888

ADD ./ymall-admin/target/ymall-admin.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar ymall-admin.jar
